<template>
  <div class="login">
    <el-form class="login-form" :model="form" label-width="auto" size="large">
      <div class="login-name">系统登录</div>
      <el-form-item label="">
        <el-input v-model="form.username" prefix-icon="UserFilled" />
      </el-form-item>
      <el-form-item label="">
        <el-input v-model="form.password" prefix-icon="Lock" type="password" show-password />
      </el-form-item>
      <div>
        <el-button type="primary" style="width: 100%;">登录</el-button>
      </div>
    </el-form>
  </div>
</template>

<script setup lang="ts" name="login">

  import { reactive } from "vue";
  let form:any = reactive({});

</script>

<style lang="scss" scoped>
.login {
  min-height: 100%;
  width: 100%;
  background-color: #2d3a4b;
  overflow: hidden;

  .login-name {
    font-size: 26px;
    color: #eee;
    margin: 0 auto 40px auto;
    text-align: center;
    font-weight: 700;
  }

  .login-form {
    position: absolute;
    left: 50%;
    top: 32%;
    margin-left: -225px;
    width: 450px;
    max-width: 100%;
  }
}
</style>
